package com.example.adapter.media.impl;

import com.example.adapter.media.AdvancedMediaPlayer;
import org.springframework.util.StringUtils;

/**
 * @Description TODO
 * @Date 2021/10/29 9:43
 * @Author ZhangJi
 * @Version 1.0
 */
public class Mp4Player implements AdvancedMediaPlayer {

  @Override
  public void playVlc(String fileName) {

  }

  @Override
  public void playMp4(String fileName) {
    if (!StringUtils.hasLength(fileName)){
      System.out.println("文件名为空");
    }
    System.out.println("Mp4Player"+fileName);
  }

}
